﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using DAL;
namespace UI
{
    public partial class newsinfo : System.Web.UI.Page
    {
        public NewsInfo news = new NewsInfo();
        public NewsInfo pinfo = new NewsInfo();
        public NewsInfo ninfo = new NewsInfo();
        protected void Page_Load(object sender, EventArgs e)
        {
            news = NewsDAL.FindOneById(JobRequest.GetRequestInt("id"));
            pinfo = NewsDAL.FindPOneById(JobRequest.GetRequestInt("id"));
            ninfo = NewsDAL.FindNOneById(JobRequest.GetRequestInt("id"));
            Page.Header.Title = news.name;
        }
    }
}